package com.rzico.report.entity;
import com.alipay.api.domain.Sale;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class SaleRoomVo {
    @Id
    @ApiModelProperty("订单日期" )
    protected Date orderDate;
    @ApiModelProperty("订单实际支付")
    private BigDecimal amount_payable;
    @ApiModelProperty("订单佣金")
    private BigDecimal fee;
    @ApiModelProperty("昨天订单实际支付")
    private BigDecimal amount_payable_yestoday;
    @ApiModelProperty("昨天订单佣金")
    private BigDecimal fee_yestoday;

    @ApiModelProperty("今天的有效订单数")
    private Long valid_order_today;
    @ApiModelProperty("今天得客单价")
    private BigDecimal unit_price;
    @ApiModelProperty("今天的无效订单数")
    private Long invalid_order_today;
    @ApiModelProperty("今天无效订单的价格总和")
    private BigDecimal invalid_order_sale_today;

    @ApiModelProperty("昨天的无效订单数")
    private Long invalid_order_yestoday;
    @ApiModelProperty("昨天订单总和")
    private Long total_order_yestoday;

    @ApiModelProperty("今天无效订单的价格总和")
    private double cancel_rate;

    List<SaleRoomVo> list;
}
